package com.jfree.registerconsul;

import com.ecwid.consul.v1.ConsulClient;
import com.ecwid.consul.v1.session.model.NewSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wangjian
 * @date 2019/7/16 10:17
 */
@Service
public class Main {
    @Autowired
    private ConsulClient consulClient;

    public void testConsul(){
        NewSession nn=new NewSession();

    }
}
